<?php

namespace app\index\validate;


use think\Validate;

class Htuser_vali extends Validate
{
    
    protected $rule =   [
        'login'  => 'require|unique:htuser',
        'password'   => 'require',
//        'sex'   => 'require',
//        'age'   => 'require',
//        'education'   => 'require',
//        'phone'   => 'require',
    ];

    protected $message  =   [
        'login.require' => '名称必须',
        'password.require'     => '名称最多不能超过25个字符',
//        'sex'   => '性别必须',
//        'age'   => '年龄必须',
//        'education'   => '学历必须',
//        'phone'   => '电话必须',
    ];
}
